package com.xiaolin.designmode.visitor;

/**
 * @ClassName ConcreteElement1
 * @Description 具体元素
 * @Detail detail
 * @Author MyPC
 * @Date 2020/11/8
 * @Version 1.0
 */
public class ConcreteElement1 implements Element {
    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }

    public String operation(){
        return "元素1的具体操作";
    }
}
